/*
 * @Author: June
 * @Date: 2022-11-17 16:29:09
 * @LastEditors: June
 * @LastEditTime: 2022-11-21 23:15:21
 * @Description: 仓库管理路由
 *
 */
import Layout from '@/layout'
export const warehouseManagement = {
  path: '/wm',
  component: Layout,
  redirect: '/wm/warehouseLocation',
  alwaysShow: true,
  meta: {
    title: '仓库管理', icon: 'icon-cangkuguanli'
  },
  children: [
    {
      path: 'warehouseLocation',
      name: 'WarehouseLocation',
      component: () => import('@/views/warehouseManagement/warehouseLocation'),
      meta: { title: '库房库位', icon: 'icon-kufangguanli' }
    },
    {
      path: 'materialReceipt',
      name: 'MaterialReceipt',
      component: () => import('@/views/warehouseManagement/materialReceipt'),
      meta: { title: '物料入库', icon: 'icon-ruku' }
    },
    {
      path: 'materialIssue',
      name: 'MaterialIssue',
      component: () => import('@/views/warehouseManagement/materialIssue'),
      meta: { title: '物料出库', icon: 'icon-xinchuku' }
    },
    {
      path: 'materialAccounts',
      name: 'MaterialAccounts',
      component: () => import('@/views/warehouseManagement/materialAccounts'),
      meta: { title: '物料台账', icon: 'icon-taizhang' }
    },
    {
      path: 'PSI',
      name: 'PSI',
      component: () => import('@/views/warehouseManagement/PSI'),
      meta: { title: '物料收发存台账', icon: 'icon-taizhang' }
    },
    {
      path: 'warehouseStatistics',
      name: 'WarehouseStatistics',
      component: () => import('@/views/warehouseManagement/warehouseStatistics'),
      meta: { title: '仓库统计', icon: 'icon-cuoqingdengji' }
    }
  ]
}
